<template>
  <div class="html-text">
    <div v-html="content"></div>
  </div>
</template>

<script>
export default {
  name: "WorkspaceJsonHtmlText",
  props: {
    content: {
      default: "",
    },
  },
  data() {
    return {};
  },

  mounted() {},

  methods: {},
};
</script>

<style lang="scss" scoped>
.html-text {
  font-size: 16px;
  color: #333;
  white-space: pre-wrap;
  /deep/ img {
    width: 20px;
    height: 20px;
    position: relative;
    top: 4px;
    margin: 0 2px;
  }
}
</style>
